home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1991 / Feb 91 / MacApp.Tech$ 2⁄22⁄91 / 3058-CFront⁄CopyBits Erro-Feb91 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.0 KB  |  38 lines  |  [TEXT/GEOL]

  1. Item    1758879                         22-Feb-91        12:08PST
  2.  
  3. From:   D3415                           Int'l Biotech, Sue Olson,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. ------------------------------------------------------------------------------
  8.  
  9. Sub:    CFront/CopyBits Error Problem
  10.  
  11. Hi -
  12.  
  13. I'm new to MacApp/C++ and I was trying to implement a CopyBits() call in a
  14. Draw() method but keep getting an error from CFront during compilation. I've
  15. stripped the routine down to its bare bones:
  16.  
  17. #include <QuickDraw.h>
  18.  
  19. pascal void DrawMap(BitMap *srcMap, BitMap *dstMap, Rect *srcRect, Rect
  20. *dstRect);
  21.  
  22. pascal void DrawMap(BitMap *srcMap, BitMap *dstMap, Rect *srcRect, Rect
  23. *dstRect)
  24. {
  25.    CopyBits(srcMap, dstMap, srcRect, dstRect, srcCopy, 0L);
  26. }
  27.  
  28. and still get the error:
  29.  
  30. File "ZippyWorld:sample.cp"; line 7 # internal << CFront Version 1.0 (9/11/90;
  31. AT&T 2.0) ©Apple Computer, Inc. 1989-90 >> error: check( 4848912, 0, 136)
  32.  
  33. I'm running MPW3.1. Does anyone know what I'm doing wrong here? Thanks in
  34. advance for your help.
  35.  
  36. Bill K.
  37.  
  38.